import { MessageTypeEnum } from "@/enums/MessageTypeEnum";

export interface ChatMessage {
  id: string;
  belongId: string;
  touserId: string;
  touserName: string;
  pairID: string;
  content: string;
  timeStamp?: string;
  oneSelf: boolean;
  isNewMessage: boolean;
  sendTime: string;
  receiveTime: string;
  readTime?: string;
  messageType?: MessageTypeEnum;
}

export interface QueryChatMessage {
  belongId?: string;
  timeStamp?: string;
}

export interface SendChatInfoRet {
  msgIdList?: Array<string>;
  mainId?: string;
  timeStamp?: string;
  sendTime?: string;
}
